FROM java:8-jre

ADD ./target/config.jar /app/
CMD ["java", "-Xmx50m", "-jar", "/app/config.jar"]

RUN  echo "Asia/Shanghai" > /etc/timezone
RUN  dpkg-reconfigure -f noninteractive tzdata

EXPOSE 8888